
// auth服务：登录登出、身份信息、菜单授权等

export const		login = (params, config = {}) => uni.$u.http.post('/authing/login',  params, config)
export const		wxMaLogin = (data) => uni.$u.http.get('/authing/oauth/ma/login', data)
export const		getInfo = (data) => uni.$u.http.get('/authing/getInfo', data)
export const		logout = (data) => uni.$u.http.get('/authing/logout', data)
// 扫码确认
export const scan = (params, config = {}) =>  uni.$u.http.post('/authing/scan/0', params, config)

export const		authInfo = (data) => uni.$u.get('/authInfo',data)

export const		sendCode = (params, config = {}) => uni.$u.post('/mobile/login/sendCode', params, config)
export const		registerUser =(params, config = {}) => uni.$u.post('/mobile/user/registerUser',  params, config)
